<!-- txsp/templates/index.html -->
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/static/styles.css">
    <!-- 引入 ECharts 库 -->
    <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
    <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts-wordcloud.min.js"></script>
    <!-- 引入 jQuery 库 -->
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <title>可视化</title>
</head>

<body>
    <!-- 导航栏 -->
    <nav class="dashboard-nav">
        <div class="nav-left">
             <img src="/static/qqq.jpg" alt="Logo" class="logo-image">
            <span class="dashboard-title"><strong>腾讯视频热门电视剧的数据可视化</strong></span>
        </div>
        <div class="nav-middle">
            <a href="/" class="nav-link active" data-target="/">数据</a>
            <a href="/new" class="nav-link" data-target="/new.html">总览</a>
        </div>

        <div class="filter-section">
            <label for="year-filter"><strong>Showing:</strong></label>
            <select id="year-filter">
                <option value="2021">2021</option>
                <option value="2022">2022</option>
                <option value="2023">2023</option>
                <option value="2024">2024</option>
                <option value="2025" selected>2025</option> <!-- 默认选中当前年份 -->
            </select>
        </div>

    </nav>

    <div id="content-container">
        <div class="charts-container">
            <div id="pie-chart-container" style="height: 400px;"></div>
            <div id="top10-hot-bar-container" style="height: 400px;"></div>
            <div class="row">
                <div id="rating-top20-bar-container" style="height: 400px;"></div>
                <div id="scatter-chart-container" style="height: 400px;"></div>
            </div>
        </div>
    </div>


    <!-- 脚本代码 -->
    <script src="/static/JavaScript.js"></script>
</body>

</html>